package wc.model.screen;

public class Rectangle {
	private int width;
	private int height;
	private int topLeftX;
	private int topLeftY;
	private int bottomRightX;
	private int bottomRightY;
	
	public Rectangle(int width, int height, int x, int y) {
		this.width = width;
		this.height = height;
		topLeftX = x;
		topLeftY = y;
		bottomRightX = topLeftX + width;
		bottomRightY = topLeftY + height;
	}

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}

	public int getTopLeftX() {
		return topLeftX;
	}

	public int getTopLeftY() {
		return topLeftY;
	}

	public int getBottomRightX() {
		return bottomRightX;
	}

	public int getBottomRightY() {
		return bottomRightY;
	}
}
